﻿using System;
using System.ComponentModel;
using System.IO;
using Styx.Helpers;
using Styx;

namespace PPHelper
{
    public class PPHSettings : Settings
    {

        private static PPHSettings _instance;

        public PPHSettings()
            : base(Path.Combine(Path.Combine(SettingsDirectory, "PPHelper"), string.Format("PPHSettings_{0}.xml", StyxWoW.Me.Name)))
        { }

        public static PPHSettings Instance { get { return _instance ?? (_instance = new PPHSettings()); } }

        #region Tweaks

        [Setting]
        [Category("Tweaks")]
		[Styx.Helpers.DefaultValue(false)]
        [DisplayName("Use Sprint on Cooldown")]
        public Boolean UseSprintOnCooldown { get; set; }

        [Setting]
        [Category("Tweaks")]
        [Styx.Helpers.DefaultValue(false)]
        [DisplayName("Use Preparation to reset Vanish's CD")]
        public Boolean UsePreparationForVanish { get; set; }

        #endregion

        #region UnStucker

        [Setting]
        [Category("Stuck Handling")]
		[Styx.Helpers.DefaultValue(false)]
        [DisplayName("Enable Unstucker")]
        [Description("Things may be even worse... Care when using it")]
        public Boolean TryUnstuck { get; set; }

        #endregion

    }
}
